package com.kaibes.module.logger.client;

import java.math.BigInteger;
import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.kaibes.web.feign.FeignConfig;

@FeignClient(value = "${kaibes.module.logger.client.service-name}", configuration = FeignConfig.class)
public interface LoggerClient {

    @PostMapping("${kaibes.module.logger.client.log-uri:/logs}")
    List<BigInteger> post(@RequestBody ApiLog apiLog);
    
}
